Skip to content

Agent-driven install path, Windows clarity, onboarding cost+inject prompts#853

Merged
rohitg00 merged 5 commits into
mainfrom
feat/agent-onboarding
Jun 7, 2026
Merged

Agent-driven install path, Windows clarity, onboarding cost+inject prompts#853
rohitg00 merged 5 commits into
mainfrom
feat/agent-onboarding

Conversation

@rohitg00

@rohitg00 rohitg00 commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Stacks on #852 (base fix/onboarding-trust). Agent-driven onboarding and cross-platform clarity.

Changes

  1. Agent-driven install path. New INSTALL_FOR_AGENTS.md at the repo root: a tight, imperative runbook a coding agent can execute end to end. Steps cover global install (npx + EACCES sudo fallback), starting the server, agentmemory demo --serve as the one-shot proof, detecting the calling agent and wiring MCP via agentmemory connect <agent> (lists the supported agent names), installing native skills, a health check plus a memory_save and memory_smart_search round-trip for verification, and a final success report. README Install section now leads with a single recommended one-liner that hands a coding agent the raw URL of that runbook as the fastest path.

  2. Windows clarity. A short, visible callout near the top of the Install section: on Windows the fast path is WSL2; native engine setup is manual (about 10 to 20 minutes) and agentmemory connect is currently unsupported there. Links to the existing detailed Windows notes lower in the README.

  3. Wizard context-injection step. Onboarding now asks whether to enable automatic context injection (AGENTMEMORY_INJECT_CONTEXT) so the agent recalls past sessions without being asked, with a one-line token-cost note (default off). The choice is persisted as a never-nag prefs flag (matching the existing skip-flag pattern), the env var is written into ~/.agentmemory/.env when enabled, and the non-TTY/CI skip path is honored.

  4. Provider cost note. The LLM provider selection step prints a one-line rough cost hint for the chosen provider, mirroring the cost-aware info in the README Configuration section. Inline note only, no matrix.

Validation

  • npm run build passes.
  • Targeted tests pass: onboarding, cli-onboarding, preferences, consistency (19 tests).

rohitg00 added 2 commits June 7, 2026 11:39
Correct stale 51-tool references to the registry truth of 53 across the
standalone shim comments and the registry comment, derive the visible
tool count from the registry, update README test-count stats to 1,423+,
add the demo --serve README line, and add a vitest guard that fails CI
if the registry count, README, or CLI help drift out of sync.
Convert the hard process.exit on a PATH iii version mismatch into a
non-fatal warning so a mismatched iii on PATH no longer blocks first
run; agentmemory continues with its own pinned engine in
~/.agentmemory/bin and honors AGENTMEMORY_III_VERSION. Add a --serve
flag to the demo subcommand that boots the server, waits for health,
runs the seed and query demo, and tears the server down on exit, all
in one invocation. Derive the --tools help counts from the registry.
@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentmemory Ready Ready Preview, Comment Jun 7, 2026 11:13am

Request Review

@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: bd11761f-d621-4682-b15d-33475275a400

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/agent-onboarding

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

rohitg00 added 3 commits June 7, 2026 12:09
Add INSTALL_FOR_AGENTS.md, a runbook a coding agent can execute end to
end: global install, start server, demo --serve, connect MCP, install
skills, and a save/recall verification round-trip.

README Install section now leads with the agent one-liner path and a
short Windows callout (WSL2 is the fast path, native setup is manual and
connect is unsupported there).

Onboarding gains a context-injection step that asks whether to enable
AGENTMEMORY_INJECT_CONTEXT with a token-cost note, persists the choice as
a never-nag prefs flag, and writes the env var when enabled. Provider
selection prints a one-line rough cost hint.
@rohitg00 rohitg00 force-pushed the feat/agent-onboarding branch from 3828346 to 30e64ee Compare June 7, 2026 11:13
Base automatically changed from fix/onboarding-trust to main June 7, 2026 11:47
@rohitg00 rohitg00 merged commit 7d01d05 into main Jun 7, 2026
3 checks passed
@rohitg00 rohitg00 deleted the feat/agent-onboarding branch June 7, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant